#pragma once

namespace TaskModule
{
    class Task
    {
    public:
        Task() {}
        Task(int x, int y)
            : _x(x), _y(y)
        {
        }
        ~Task() {}
        void operator()()
        {
            _result = _x + _y;
        }
        int X(){return _x;}
        int Y(){return _y;}
        int Result(){return _result;}
    private:
        int _x;
        int _y;
        int _result;
    };

}
